Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

feat(notch): add four-finger gesture support for overview/dashboard#335

Closed
Litesung wants to merge 1 commit intoAxenide:mainfrom
Litesung:feature/four-finger-gestures
Closed

feat(notch): add four-finger gesture support for overview/dashboard#335
Litesung wants to merge 1 commit intoAxenide:mainfrom
Litesung:feature/four-finger-gestures

Conversation

@Litesung
Copy link

Summary

  • Adds gesture_up() and gesture_down() methods for touchpad gesture integration
  • Swipe up: opens overview if nothing open, closes dashboard if open
  • Swipe down: opens dashboard if nothing open, closes overview if open
  • Tracks currently open widget via _current_widget for bidirectional navigation

Changes

  • Added _current_widget = None initialization in __init__
  • Added _current_widget = None reset in close_notch()
  • Added gesture_up() method
  • Added gesture_down() method
  • Added _current_widget tracking in _open_notch_internal()

Usage

Works with libinput-gestures or similar gesture daemons:

gesture swipe up 4 fabric-cli exec ax-shell 'notch.gesture_up()'
gesture swipe down 4 fabric-cli exec ax-shell 'notch.gesture_down()'

Test plan

  • Swipe up with notch closed opens overview
  • Swipe up with dashboard open closes dashboard
  • Swipe down with notch closed opens dashboard
  • Swipe down with overview open closes overview
  • Swipe up/down with other widgets (launcher, etc.) does nothing

🤖 Generated with Claude Code

Add gesture_up() and gesture_down() methods for touchpad gesture integration:
- Swipe up: opens overview if nothing open, closes dashboard if open
- Swipe down: opens dashboard if nothing open, closes overview if open

Uses _current_widget tracking to determine which panel is currently open,
enabling intuitive bidirectional gesture navigation.

Example libinput-gestures config:
  gesture swipe up 4 fabric-cli exec ax-shell 'notch.gesture_up()'
  gesture swipe down 4 fabric-cli exec ax-shell 'notch.gesture_down()'

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Litesung Litesung closed this by deleting the head repository Feb 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant